PdfSettings

Print settings available when printing PDF content on the PDF printer.

Since

7.13

Functions

Link copied to clipboard
abstract fun apply()
Applies the configured print settings.
Link copied to clipboard
abstract fun pageRanges(): Set<PageRange>
Returns an immutable set containing the page ranges to print.
abstract fun pageRanges(pageRanges: Array<PageRange>): T
abstract fun pageRanges(pageRanges: Set<PageRange>): T
Configures the page ranges to print.
Link copied to clipboard
abstract fun pagesPerSheet(): PagesPerSheet
Returns the number of pages per sheet.
abstract fun pagesPerSheet(pagesPerSheet: PagesPerSheet): T
Configures the number of pages per sheet.
Link copied to clipboard
abstract fun pdfFilePath(): Optional<Path>
Returns an Optional that contains the absolute destination PDF file path, or an empty Optional if there is not path configured.
abstract fun pdfFilePath(pdfFilePath: Path): T
Configures the path to the destination PDF file to print to.
Link copied to clipboard
abstract fun scaling(): Scaling
Returns the scaling used by the printer.
abstract fun scaling(scaling: Scaling): T
Configures the scaling for printing.